x11: Keep the drag window alive longer
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 16:29:58 +0000 (11:29 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 16:33:24 +0000 (11:33 -0500)
commitea0084cd995283dee00a327c92d9896994e738e1
tree771c7342e1418b395f9511b952dcf7c4157dd988
parentf9e504d70e90686e32fd0c4b9ceab9f36a05ea53
x11: Keep the drag window alive longer

We destroy the widget that is wrapped around the drag window
when the object data on the drag context gets cleared. Destroying
the window before that happens leads to unpleasantries. E.g. we may
try to access the frame clock, which doesn't exist anymore, and
things go downhill from there. So, keep the window alive for
a little longer.
gdk/x11/gdkdnd-x11.c